package com.donger.boms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.donger.boms.entity.ProductBom;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ProductBomService  extends IService<ProductBom> {
    /**
     * 上传
     * @param file
     * @param bomNumber
     * @return
     */
    boolean upload(MultipartFile file,String bomNumber);

    /**
     * 获取料品list
     * @param number
     * @return
     */
    List<ProductBom> queryList(String number);
}
